﻿//Copyright (c) 2010, Andreas Grünwald
//All rights reserved.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace yaTDL.Core.Toodledo
{
    public class ToodledoAccountInfoV2
    {
        public string UserId { get; set; }

        public string Alias { get; set; }

        public bool IsProUser { get; set; }

        public int DateFormat { get; set; }

        public int TimeZone { get; set; }

        public int HideMonths { get; set; }

        public int HotListPriority { get; set; }

        public int ShowTabNums { get; set; }

        public int HotListDueDate { get; set; }

        public DateTime LastTaskEdit { get; set; }

        public DateTime LastTaskDelete { get; set; }

        public DateTime LastFolderEdit { get; set; }

        public DateTime LastContextEdit { get; set; }

        public DateTime LastGoalEdit { get; set; }


        public override string ToString()
        {
            return "UserId: " + UserId + "; Alias: "+ Alias + "; IsProUser: "+ IsProUser.ToString() + "; DateFormat: " + DateFormat.ToString() + 
                "; TimeZone: " + TimeZone.ToString() + "; HideMonths: " + HideMonths.ToString() + "; HotListPriority: " + HotListPriority.ToString() +
                "; HotListDueDate: " + HotListDueDate.ToString() + ";LastAddEdit: " + LastTaskEdit.ToString() + "; LastDelete: " + LastTaskDelete.ToString() + 
                "; LastFolderEdit: " + LastFolderEdit.ToString() + "; LastContextEdit: " + LastContextEdit.ToString() + "; LastGoalEdit:" + LastGoalEdit.ToString() + ";";
        }
    }
}
